body {
    font-family: arial;
    font-size: 0.7em;
    margin: 0;
    padding: 0;
    height:100%;
}

input, select, textarea {
    font-family: arial;
    font-size: 0.9em;
    color: black;
}

input:focus, select:focus, textarea:focus{
    background-color: yellow;
}

p {
    font-family: arial;
    font-size: 0.9em;
    color: black;
}

#container {
    width: 100%;
    height: 100%;
}

#menubar {
    border-bottom: 1px solid black;
    width: auto;
    height: 30px;
    padding: 8px;
}

h1#maintitle {
    color: gray;
    margin: 0 auto;
    font-weight: 900;
    font-size: 3.6em;
    letter-spacing:5px;
    float:left;
}
p#mainsubtitle {
	float: left;
}
ul#mainmenu {
    list-style-type: none;
    padding: 0px;
    margin: 18px 0 0 320px;
}
ul#mainmenu li {
	margin: 0px;
	padding: 0px;
	display: inline;
	background-color: gray;
}
ul#mainmenu a {
	color: white;
}
ul#mainmenu a:hover {
	color: yellow;
}

#sidepanel {
    position: absolute;
    border-right: 1px solid black;
    width: 200px;
    top: 47px;
    bottom: 0px;
    padding: 4px;
    float: left;
    background-color: gray;
    color: white;
}

#objcontainer {
    position: absolute;
    padding: 0px;
    left: 209px;
    right: 0px;
    bottom: 0px;
    top: 48px;
    float: left;
}

#docbox {
    position:static;
    width:100%;
    height:100%;
    border: none;
    margin: 0px;
}

.sheetbox div {
    cursor:pointer;
    padding:4px 4px 4px 4px;
    z-index:2;
}

div.unitbox-title{
    position:relative;
    margin-top: 4px;
    background-color:white;
    border: 1px solid #e9e9e9;
    color:gray;
    z-index:0;
    font-size:0.8em;
}

#statusbar {
    position: absolute;
    background-color: #e9e9e9;
    bottom: 82px;
    padding: 0px;
    width:100%;
}

#timeline {
    position: absolute;
    background-color: #004488;
    border-top: 1px solid navy;
    bottom: 0px;
    height: 80px;
    padding: 0px;
    width:100%;
    color:white;
}

#timeline h1 {
    margin: 2px;
}

#timelineinfo {
    color:white;
    margin:2px;
    font-size:1.0em;
}

#timelinewatcher {
    text-align: center;
    background-color: #e9e9e9;
    font-size:1.4em;
    font-weight:700;
}

#timelinecontrols {
    float:left;
    margin-right: 4px;
    padding: 2px;
}

#timelineevents {
    float:left;
    margin-left: 4px;
    padding: 2px;
    height:76px;
    width: 400px;
    overflow: auto;
    border-left: 1px solid black;
}

#timelineeventstable {
    font-size: 0.9em;
    height: 60px;
    width: 100%;
    color: gray;
    adisplay: block;
    border: 1px solid gray;
    border-collapse: collapse;
    padding: 4px;
}

#timelineeventstablehead {
    background-color: red;
}

#timelineeventstable th {
    background-color: #e9e9e9;
    font-weight: 900;
    width:25%;
}

#rangefunctions {
    display: none;
}

#sheetsbar {
    top: 0px;
	position: absolute;
	background-color: #e9e9e9;
	z-index: 1;
	width: 100%;
	margin: 0;
	padding: 0;
}

#overlay {
    display: none;
    position: absolute;
    top: 0px;
  	left: 0px;
    width:100%;
    height:100%;
    z-index: 750;
    text-align: center;
    background-image: url(gui/img/opac_pix.png);
}

#modaldialog {
	position: relative;
    margin: 100px auto;
    width: 300px;
    min-width: 300px;
    max-width: 600px;
    display: none;
    padding: 4px;
    z-index: 1001;
}

#modaldialog legend{
    background-color: #fff;
    border: 1px solid gray;
    font-size: 1.1em;
    font-weight: 700;
    padding: 4px;
}

#modaldialog fieldset{
    background-color: #fff;
    border: 1px solid gray;
    margin: 0px;
    padding: 4px;
}

li.sheetboxtitle {
	cursor: pointer;
	float: left;
    font-size: 1.0em;
    font-weight: bold;
    color: gray;
    background-color: #e9e9e9;
    padding: 4px;
    list-style-type: none;
    margin: 0;
}

.formel {
    padding: 4px;
    margin: 1px;
    background-color: #666;
}

#cutitle {
    font-weight:700;
    font-size:1.2em;
}

#sidepanel a {
    color: white;
    font-weight: 700;
}

#sidepanel a:hover{
    color: yellow;
}

.clearLeft {
    clear:left;
}

.sheetbox {
    position: absolute;
    bottom: 94px;
    left: 0px;
    right: 0px;
    top: 20px;
}

.sizer {
    padding: 0;
    margin: 0;
    display: block;
    position: absolute;
    text-align: right;
    border-top: 1px dotted gray;
    border-left: 1px dotted gray;
    background-color: #e9e9e9;
    color: gray;
    font-size: 1.0em;
    bottom: 0;
    right: 0;
}
.sizer:hover {
    background-color: yellow;
}

.link-menu-context {
    padding: 0;
    margin: 2px;
    border: 1px dotted gray;
    background-color: #e9e9e9;
    z-index: 1000;
}
.link-menu-context:hover {
    background-color: yellow;
}

.menu-context {
    list-style-type: none;
    position: fixed;
    border: 1px solid gray;
    background-color: #606060;
    color: #e9e9e9;
    margin: 1px;
    padding: 0;
    font-size: 0.8em;
    z-index: 1000;
}

.voice-menu-context {
    padding: 2px;
}
.voice-menu-context:hover {
    background-color: #303030;
    color: yellow;
}
